<template>
    <div>
        <hd-imagetext v-model="form"></hd-imagetext>
        <el-button type="primary" @click="onSubmit">提交</el-button>
    </div>
</template>

<script>
export default {
    route: {name: 'admin.honorary.create'},
    data() {
        return {
            form: []
        }
    },
    methods: {
        async onSubmit() {
            await this.axios.post('admin/honorary', this.form);
            this.$router.push({name: 'admin.honorary.edit'});
        }
    }
}
</script>

<style scoped>

</style>
